package com.hiof.servercommunication.receive.beans;

import com.hiof.beans.RouteInfo;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: manish
 * Date: 3/29/12
 * Time: 3:24 PM
 * To change this template use File | Settings | File Templates.
 */
public class RouteInfoCollection {
    private List<RouteInfo> routeInfos;

    public RouteInfoCollection() {
        routeInfos = new ArrayList<RouteInfo>();
    }

    public List<RouteInfo> getRouteInfos(){
        return this.routeInfos;
    }

    public void addRouteInfoElement(RouteInfo element){
        this.routeInfos.add(element);
    }
}